package com.zmn.plat.persistence.interfaces.product;

import com.zmn.plat.model.entity.product.FicoCategory;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * FicoCategoryDAO
 *
 * @author tanghongjun
 */
public interface FicoCategoryDAO {
    /**
     * 描述: FicoCategory key 查询数据
     *
     * @param categId
     * @return: FicoCategory
     * @auther: tanghongjun
     * @since: 2018/10/15 16:41
     */
    FicoCategory findByKey(Integer categId);

    /**
     * 描述: FicoCategory 数据
     *
     * @return: List<FicoCategory>
     * @auther: tanghongjun
     * @since: 2018/10/15 16:41
     */
    List<FicoCategory> listAll();

    /**
     * 描述: FicoCategory key 查询数据
     *
     * @param categIds
     * @return: FicoCategory
     * @auther: tanghongjun
     * @since: 2018/10/15 16:41
     */
    List<FicoCategory> findByKeys(@Param("categIds") List<Integer> categIds);
}